<%@ taglib prefix="iwebmvc" uri="http://tags.iwebmvc.com" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %>
<c-rt:set var="totalProjects" value="<%= org.internna.iwebjtracker.services.ActivityReporter.TOTAL_PROJECTS %>" />
<c-rt:set var="totalDevelopers" value="<%= org.internna.iwebjtracker.services.ActivityReporter.TOTAL_DEVELOPERS %>" />
<c-rt:set var="activityClass" value="<%= org.internna.iwebjtracker.model.Activity.class %>" />
<c-rt:set var="activityReporter" value="<%= org.internna.iwebjtracker.spring.mvc.IWebJTrackerModelDecoratorInterceptor.ACTIVITY_REPORTER %>" />
<c:set var="statistics" value="${requestScope[activityReporter].projectsStatisticsForCurrentUser}" />
<iwebmvc:panel title="ui.myprojects.statistics" width="98%;margin:0">
    <table style="text-align:left;width:95%">
        <tbody>
            <tr>
                <td style="font-weight:bold"><iwebmvc:message argMessage="ui.myprojects.statistics.totalprojects" /></td>
                <td>${statistics[totalProjects]}</td>
            </tr>
            <tr>
                <td style="font-weight:bold"><iwebmvc:message argMessage="ui.myprojects.statistics.totaldeveloper" /></td>
                <td>${statistics[totalDevelopers]}</td>
            </tr>
        </tbody>
    </table>
</iwebmvc:panel>